// -*- c++ -*-

#version 330 core

layout (location = 0) in vec3 inPos;
layout (location = 1) in vec3 inColor;
layout (location = 2) in vec3 inNormal;
layout (location = 3) in vec2 inTexCoords;

out vec3 vColor;
out vec2 texCoords;

uniform mat4 m_proj;
uniform mat4 m_model;

void main ()
{
  texCoords = inTexCoords;
  vColor = inColor;
  gl_Position = m_proj * m_model * vec4(inPos, 1.f);
}
